PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Glowsticks Mirror / $$$ Royal - Mashup (479).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=0.952 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=4.100 |
| 26 | fWaveScale=2.850 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.800 |
| 64 | mv_r=0.300 |
| 65 | mv_g=0.210 |
| 66 | mv_b=0.110 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_frame1=basstime=basstime+(bass*bass); |
| 89 | wave_0_per_frame2=t1=basstime*0.03; |
| 90 | wave_0_per_frame3= |
| 91 | wave_0_per_point1=//plot x,y,z to point on circle |
| 92 | wave_0_per_point2=smp=sample*6.283; |
| 93 | wave_0_per_point3=xp=sin(smp )*0.10; |
| 94 | wave_0_per_point4=yp=cos(smp )*0.10; |
| 95 | wave_0_per_point5=zp=0; |
| 96 | wave_0_per_point6= |
| 97 | wave_0_per_point7= |
| 98 | wave_0_per_point8=//alter shape; |
| 99 | wave_0_per_point9=angy=sin(sample*6.28*4 +t1 )*6.28; |
| 100 | wave_0_per_point10=xq=xp*cos(angy) - zp*sin(angy); |
| 101 | wave_0_per_point11=zq=xp*sin(angy) + zp*cos(angy); |
| 102 | wave_0_per_point12=xp=xq; |
| 103 | wave_0_per_point13=zp=zq; |
| 104 | wave_0_per_point14= |
| 105 | wave_0_per_point15= |
| 106 | wave_0_per_point16=//rotate on y axis; |
| 107 | wave_0_per_point17=angy=t1*0.1; |
| 108 | wave_0_per_point18=xq=xp*cos(angy) - zp*sin(angy); |
| 109 | wave_0_per_point19=zq=xp*sin(angy) + zp*cos(angy); |
| 110 | wave_0_per_point20=xp=xq; |
| 111 | wave_0_per_point21=zp=zq; |
| 112 | wave_0_per_point22= |
| 113 | wave_0_per_point23=//rotate on x axis |
| 114 | wave_0_per_point24=axs1 = sin(t1*0.15) + 1.6; |
| 115 | wave_0_per_point25=yq= yp*cos(axs1) - zp*sin(axs1); |
| 116 | wave_0_per_point26=zq= yp*sin(axs1) + zp*cos(axs1); |
| 117 | wave_0_per_point27=yp=yq; |
| 118 | wave_0_per_point28=zp=zq; |
| 119 | wave_0_per_point29= |
| 120 | wave_0_per_point30=//rotate on y axis again |
| 121 | wave_0_per_point31=axs2 = sin(t1*0.1)*3.3; |
| 122 | wave_0_per_point32=xq=xp*cos(axs2) - zp*sin(axs2); |
| 123 | wave_0_per_point33=zq=xp*sin(axs2) + zp*cos(axs2); |
| 124 | wave_0_per_point34=xp=xq; |
| 125 | wave_0_per_point35=zp=zq; |
| 126 | wave_0_per_point36= |
| 127 | wave_0_per_point37=//stretch y axis to compensate for aspect ratio |
| 128 | wave_0_per_point38=yp=yp*1.2; |
| 129 | wave_0_per_point39= |
| 130 | wave_0_per_point40=//push forward into viewpace |
| 131 | wave_0_per_point41=zp=zp+2.1; |
| 132 | wave_0_per_point42= |
| 133 | wave_0_per_point43=//project x,y,z into screenspace |
| 134 | wave_0_per_point44=xs=xp/zp; |
| 135 | wave_0_per_point45=ys=yp/zp; |
| 136 | wave_0_per_point46= |
| 137 | wave_0_per_point47=//center 0,0 in middle of screen |
| 138 | wave_0_per_point48=x=xs+0.5+q4; |
| 139 | wave_0_per_point49=y=ys+0.5+q5; |
| 140 | wave_0_per_point50= |
| 141 | wave_0_per_point51=r=1-q1; |
| 142 | wave_0_per_point52=g=1-q2; |
| 143 | wave_0_per_point53=b=1-q3; |
| 144 | wavecode_1_enabled=0 |
| 145 | wavecode_1_samples=512 |
| 146 | wavecode_1_sep=0 |
| 147 | wavecode_1_bSpectrum=0 |
| 148 | wavecode_1_bUseDots=0 |
| 149 | wavecode_1_bDrawThick=0 |
| 150 | wavecode_1_bAdditive=0 |
| 151 | wavecode_1_scaling=1.00000 |
| 152 | wavecode_1_smoothing=0.50000 |
| 153 | wavecode_1_r=1.000 |
| 154 | wavecode_1_g=1.000 |
| 155 | wavecode_1_b=1.000 |
| 156 | wavecode_1_a=1.000 |
| 157 | wavecode_2_enabled=0 |
| 158 | wavecode_2_samples=512 |
| 159 | wavecode_2_sep=0 |
| 160 | wavecode_2_bSpectrum=0 |
| 161 | wavecode_2_bUseDots=0 |
| 162 | wavecode_2_bDrawThick=0 |
| 163 | wavecode_2_bAdditive=0 |
| 164 | wavecode_2_scaling=1.00000 |
| 165 | wavecode_2_smoothing=0.50000 |
| 166 | wavecode_2_r=1.000 |
| 167 | wavecode_2_g=1.000 |
| 168 | wavecode_2_b=1.000 |
| 169 | wavecode_2_a=1.000 |
| 170 | wavecode_3_enabled=0 |
| 171 | wavecode_3_samples=512 |
| 172 | wavecode_3_sep=0 |
| 173 | wavecode_3_bSpectrum=0 |
| 174 | wavecode_3_bUseDots=0 |
| 175 | wavecode_3_bDrawThick=0 |
| 176 | wavecode_3_bAdditive=0 |
| 177 | wavecode_3_scaling=1.00000 |
| 178 | wavecode_3_smoothing=0.50000 |
| 179 | wavecode_3_r=1.000 |
| 180 | wavecode_3_g=1.000 |
| 181 | wavecode_3_b=1.000 |
| 182 | wavecode_3_a=1.000 |
| 183 | shapecode_0_enabled=0 |
| 184 | shapecode_0_sides=23 |
| 185 | shapecode_0_additive=1 |
| 186 | shapecode_0_thickOutline=0 |
| 187 | shapecode_0_textured=1 |
| 188 | shapecode_0_num_inst=1 |
| 189 | shapecode_0_x=0.500 |
| 190 | shapecode_0_y=0.700 |
| 191 | shapecode_0_rad=0.15493 |
| 192 | shapecode_0_ang=0.00000 |
| 193 | shapecode_0_tex_ang=0.00000 |
| 194 | shapecode_0_tex_zoom=0.01000 |
| 195 | shapecode_0_r=1.000 |
| 196 | shapecode_0_g=1.000 |
| 197 | shapecode_0_b=1.000 |
| 198 | shapecode_0_a=1.000 |
| 199 | shapecode_0_r2=1.000 |
| 200 | shapecode_0_g2=1.000 |
| 201 | shapecode_0_b2=1.000 |
| 202 | shapecode_0_a2=0.000 |
| 203 | shapecode_0_border_r=1.000 |
| 204 | shapecode_0_border_g=1.000 |
| 205 | shapecode_0_border_b=1.000 |
| 206 | shapecode_0_border_a=0.000 |
| 207 | shape_0_per_frame1=y=bass_att*0.5+0.2; |
| 208 | shape_0_per_frame2=x=cos(time*2)*0.5+0.5; |
| 209 | shapecode_1_enabled=0 |
| 210 | shapecode_1_sides=4 |
| 211 | shapecode_1_additive=0 |
| 212 | shapecode_1_thickOutline=0 |
| 213 | shapecode_1_textured=1 |
| 214 | shapecode_1_num_inst=1 |
| 215 | shapecode_1_x=0.500 |
| 216 | shapecode_1_y=0.500 |
| 217 | shapecode_1_rad=1.80200 |
| 218 | shapecode_1_ang=0.00000 |
| 219 | shapecode_1_tex_ang=3.14159 |
| 220 | shapecode_1_tex_zoom=0.57268 |
| 221 | shapecode_1_r=1.000 |
| 222 | shapecode_1_g=1.000 |
| 223 | shapecode_1_b=1.000 |
| 224 | shapecode_1_a=1.000 |
| 225 | shapecode_1_r2=1.000 |
| 226 | shapecode_1_g2=1.000 |
| 227 | shapecode_1_b2=1.000 |
| 228 | shapecode_1_a2=1.000 |
| 229 | shapecode_1_border_r=1.000 |
| 230 | shapecode_1_border_g=1.000 |
| 231 | shapecode_1_border_b=1.000 |
| 232 | shapecode_1_border_a=0.000 |
| 233 | shape_1_per_frame1=//ang = ang + (bass*.2) + (time*.4); |
| 234 | shape_1_per_frame2=//rad=1.781+(bass*0.025); |
| 235 | shape_1_per_frame3=ang=above(0.5,treb_att)*.063; |
| 236 | shapecode_2_enabled=0 |
| 237 | shapecode_2_sides=100 |
| 238 | shapecode_2_additive=1 |
| 239 | shapecode_2_thickOutline=0 |
| 240 | shapecode_2_textured=1 |
| 241 | shapecode_2_num_inst=1 |
| 242 | shapecode_2_x=0.900 |
| 243 | shapecode_2_y=0.500 |
| 244 | shapecode_2_rad=0.10000 |
| 245 | shapecode_2_ang=0.00000 |
| 246 | shapecode_2_tex_ang=0.00000 |
| 247 | shapecode_2_tex_zoom=0.01000 |
| 248 | shapecode_2_r=1.000 |
| 249 | shapecode_2_g=1.000 |
| 250 | shapecode_2_b=1.000 |
| 251 | shapecode_2_a=1.000 |
| 252 | shapecode_2_r2=1.000 |
| 253 | shapecode_2_g2=1.000 |
| 254 | shapecode_2_b2=1.000 |
| 255 | shapecode_2_a2=0.000 |
| 256 | shapecode_2_border_r=1.000 |
| 257 | shapecode_2_border_g=1.000 |
| 258 | shapecode_2_border_b=1.000 |
| 259 | shapecode_2_border_a=0.100 |
| 260 | shape_2_per_frame1=x = sin(time*5) * .4 + .5; |
| 261 | shape_2_per_frame2=y=treb_att*0.5; |
| 262 | shape_2_per_frame3= |
| 263 | shape_2_per_frame4=pow( (bass*.15),2); |
| 264 | shapecode_3_enabled=0 |
| 265 | shapecode_3_sides=100 |
| 266 | shapecode_3_additive=0 |
| 267 | shapecode_3_thickOutline=0 |
| 268 | shapecode_3_textured=1 |
| 269 | shapecode_3_num_inst=1 |
| 270 | shapecode_3_x=0.500 |
| 271 | shapecode_3_y=0.500 |
| 272 | shapecode_3_rad=0.03300 |
| 273 | shapecode_3_ang=0.00000 |
| 274 | shapecode_3_tex_ang=0.00000 |
| 275 | shapecode_3_tex_zoom=0.01000 |
| 276 | shapecode_3_r=1.000 |
| 277 | shapecode_3_g=1.000 |
| 278 | shapecode_3_b=1.000 |
| 279 | shapecode_3_a=1.000 |
| 280 | shapecode_3_r2=1.000 |
| 281 | shapecode_3_g2=1.000 |
| 282 | shapecode_3_b2=1.000 |
| 283 | shapecode_3_a2=0.000 |
| 284 | shapecode_3_border_r=1.000 |
| 285 | shapecode_3_border_g=1.000 |
| 286 | shapecode_3_border_b=1.000 |
| 287 | shapecode_3_border_a=0.000 |
| 288 | shape_3_per_frame1=x=.5+(bass*0.07); |
| 289 | per_frame_1=wave_a = 0; |
| 290 | per_frame_2= |
| 291 | per_frame_3= |
| 292 | per_frame_4= |
| 293 | per_frame_5=ib_r=sin(time)*0.5+0.5; |
| 294 | per_frame_6=ib_g=sin(time+2.1)*0.5+0.5; |
| 295 | per_frame_7=ib_b=sin(time+4.2)*0.5+0.5; |
| 296 | per_frame_8= |
| 297 | per_frame_9=ob_r=ib_r-0.5; |
| 298 | per_frame_10=ob_g=ib_g-0.5; |
| 299 | per_frame_11=ob_b=ib_b-0.5; |
| 300 | per_frame_12=q1=ib_r; |
| 301 | per_frame_13=q2=ib_g; |
| 302 | per_frame_14=q3=ib_b; |
| 303 | per_frame_15= |
| 304 | per_frame_16= |
| 305 | per_frame_17= |
| 306 | per_frame_18=decay = .98; |
| 307 | per_frame_19= |
| 308 | per_frame_20= |
| 309 | per_frame_21=//echo_orient=((bass_att+mid_att+treb_att)/3)*3; |
| 310 | per_frame_22=//solarize=above(0.5,bass); |
| 311 | per_frame_23=//darken=above(0.4,treb); |
| 312 | per_frame_24= |
| 313 | per_frame_25=musictime=musictime+(mid*mid)*0.003*(75/fps); |
| 314 | per_frame_26=basstime=basstime+(bass*bass)*0.03*(75/fps); |
| 315 | per_frame_27= |
| 316 | per_frame_28= |
| 317 | per_frame_29=xpos=sin(musictime*0.6)*0.1; |
| 318 | per_frame_30=ypos=sin(musictime*0.4)*0.3; |
| 319 | per_frame_31=q4=xpos; |
| 320 | per_frame_32=q5=ypos; |
| 321 | per_frame_33=q6=basstime; |
| 322 | per_pixel_1=//flip= (-2 * above(sin(time),-0.9) )+1; |
| 323 | per_pixel_2=//var=(bass+mid+treb)/3; |
| 324 | per_pixel_3=//rot=((ang&rad/rad)/(var*20))/10; |
| 325 | per_pixel_4=//sx=.99-(var*0.01); |
| 326 | per_pixel_5=//cx=var*0.1*(ang/12); |
| 327 | per_pixel_6=//sy=sx; |
| 328 | per_pixel_7= |
| 329 | per_pixel_8=zoom=1.02; |
| 330 | per_pixel_9= |
| 331 | per_pixel_10=//move center based on musictime |
| 332 | per_pixel_11=cx=0.5+q4; |
| 333 | per_pixel_12=cy=0.5-q5; |
| 334 | per_pixel_13= |
| 335 | per_pixel_14=//adjust x,y values based on musictime |
| 336 | per_pixel_15=nx=(x-0.5-q4)*2; |
| 337 | per_pixel_16=ny=(y-0.5+q5)*1.5; |
| 338 | per_pixel_17= |
| 339 | per_pixel_18=//radians based on adjusted x,y |
| 340 | per_pixel_19=rd=sqrt( sqr(nx) + sqr(ny) ); |
| 341 | per_pixel_20= |
| 342 | per_pixel_21=//ang based on adjusted x,y |
| 343 | per_pixel_22=ag=atan( ny/nx ); |
| 344 | per_pixel_23= |
| 345 | per_pixel_24=zm=(1.1-(rd/4)); |
| 346 | per_pixel_25=//zm=1; |
| 347 | per_pixel_26= |
| 348 | per_pixel_27=shapechange=sin(q6*0.2)*5+5; |
| 349 | per_pixel_28= |
| 350 | per_pixel_29=star=sin(ag*(2+shapechange)+q6)*(1-rad)*0.5 + 0.5; |
| 351 | per_pixel_30=star=star*star*3 -0.4; |
| 352 | per_pixel_31=star=star*treb*treb*0.5; |
| 353 | per_pixel_32=zm=zm+star*0.1; |
| 354 | per_pixel_33=sx=zm; |
| 355 | per_pixel_34=sy=zm; |
| 356 | per_pixel_35=rot=above(rd,0.7)*(rd-0.7)*sin(time*0.3)*0.6 * -sin(ag*4); |
| 357 | per_pixel_36= |
| 358 | per_pixel_37=dx=sin(y*40)*(q4*0.05); |
| 359 | per_pixel_38=dy=cos(x*40)*(q4*0.05); |
| 360 | warp_1=`shader_body |
| 361 | warp_2=`{ |
| 362 | warp_3=` float d = texsize.zw; |
| 363 | warp_4=` float3 deltax = (GetPixel(uv + float2(1,0)*d) + GetPixel(uv + float2(1,0)*d))*0.5; |
| 364 | warp_5=` float3 deltay = (GetPixel(uv + float2(0,1)*d) + GetPixel(uv + float2(0,1)*d))*0.5; |
| 365 | warp_6=` |
| 366 | warp_7=` |
| 367 | warp_8=` ret = ((deltax+deltay - tex2D(sampler_main, (uv-0.5)*0.9 + 0.5 ))); |
| 368 | warp_9=` ret -= 0.4; |
| 369 | warp_10=`} |
| 370 | comp_1=`shader_body |
| 371 | comp_2=`{ |
| 372 | comp_3=` float rad_lq = rad * length(texsize.xy)*0.5; |
| 373 | comp_4=` float ang_lq = ang; |
| 374 | comp_5=` float2 uv_temp1 = (uv - 0.5) * texsize.xy; |
| 375 | comp_6=` float rad_hq = length(uv_temp1); |
| 376 | comp_7=` float ang_hq = atan2(-uv_temp1.y, uv_temp1.x); |
| 377 | comp_8=` |
| 378 | comp_9=` float2 uv2 = (uv - 0.5); |
| 379 | comp_10=` float rad2 = rad_lq*0.8; |
| 380 | comp_11=` float ang2 = ang_lq * M_INV_PI_2 + rad_lq*0.000 + time*0.00; |
| 381 | comp_12=` |
| 382 | comp_13=` |
| 383 | comp_14=` // FIN TYPE |
| 384 | comp_15=` float fins = 6; |
| 385 | comp_16=` ang2 = frac(ang2*fins)/fins; |
| 386 | comp_17=` // ENABLE THIS TO MAKE THE FINS ALTERNATE: (seamless!) |
| 387 | comp_18=` ang2 = abs(ang2 - 0.5/fins); |
| 388 | comp_19=` |
| 389 | comp_20=` |
| 390 | comp_21=` ang2 *= M_PI_2; |
| 391 | comp_22=` uv = 0.5 + rad2*float2(cos(ang2),sin(ang2))*texsize.zw; |
| 392 | comp_23=` |
| 393 | comp_24=` ret = 1.4*pow(saturate(GetBlur1(uv))*((tex2D(sampler_pc_main,uv)-GetBlur3(uv))),0.5); //invert |
| 394 | comp_25=`} |